# -*- coding: utf-8 -*-
"""
Created on Wed Apr 17 10:18:28 2024

@author: 刘翼
"""

import cv2

image = cv2.imread(r"C:\Users\Public\opencv\Figure\bird.jpg")
imageLap3 = cv2.Laplacian(image, cv2.CV_64F, ksize=3)    
imageLap5 = cv2.Laplacian(image, cv2.CV_64F, ksize=5)
imageLap7 = cv2.Laplacian(image, cv2.CV_64F, ksize=7)
imageLap9 = cv2.Laplacian(image, cv2.CV_64F, ksize=9)
imageLap11 = cv2.Laplacian(image, cv2.CV_64F, ksize=11)

cv2.imshow("RGB", image)
cv2.imshow("imageLap3", imageLap3)
cv2.imshow("imageLap5", imageLap5)
cv2.imshow("imageLap7", imageLap7)
cv2.imshow("imageLap9", imageLap9)
cv2.imshow("imageLap11", imageLap11)

cv2.waitKey()
cv2.destroyAllWindows()